package com.heatup.apt.common.constants;

/**
 * Created by Blank on 2016-10-18.
 * 门禁设备相关常量
 */
public class DeviceConstants {

    /**
     * 门禁状态
     */
    public enum DeviceStatus {

        online(1,"1","在线"),
        offline(2,"2","离线"),
        out_of_service(3,"3","停用");

        private int index;
        private String status;
        private String title;

        DeviceStatus(int index, String status, String title) {
            this.index = index;
            this.status = status;
            this.title = title;
        }

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
